package cn.imvc.app.models;

import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.security.access.ConfigAttribute;
import org.springframework.security.web.util.matcher.RequestMatcher;

import cn.imvc.app.entities.PriceClass;
import cn.imvc.data.domain.ViewRequest;

public interface PriceClassModel {

	List<PriceClass> findPriceClass();
	LinkedHashMap<RequestMatcher, Collection<ConfigAttribute>> getRequestMap();
	Page<PriceClass> find(ViewRequest viewRequest);
	PriceClass get(int id);
	int save(PriceClass priceClass);
	int update(int id, PriceClass priceClass);
	void deleteBatch(int[] ids);
	String delete(int id);

}
